package com.example.logistics_oa.dubbo;

import com.example.comment_oa.dubbo.ChaJiaBanBeiShuDubbo;
import com.example.comment_oa.pojos.OvertimeBonus;
import com.example.logistics_oa.service.OvertimeBonusService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;
import java.util.List;


@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class ChaJiaBanBeiShudubboImpl implements ChaJiaBanBeiShuDubbo {

    @Resource
    OvertimeBonusService overtimeBonusService;

    @Override
    public List<OvertimeBonus> selectByObId(int obId) {
        return overtimeBonusService.selectByObId(obId);
    }
}
